package com.egoo.ticket.server.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author：victor_tang
 * @Date ：2020/5/14
 * @Description：基础公共字段类
 */
@Data
@ApiModel("基础公共字段类")
public class BasePublicParamDto {
	@ApiModelProperty("页数")
	@TableField(exist = false)
	private Integer pageNumber;

	@ApiModelProperty("分页大小")
	@TableField(exist = false)
	private Integer pageSize;

	@ApiModelProperty("总数")
	@TableField(exist = false)
	private Integer totalCount;

	public BasePublicParamDto(){}
	public BasePublicParamDto(Integer pageNumber, Integer pageSize){
		this.pageNumber =pageNumber;
		this.pageSize = pageSize;
	}
}
